package general.dbClass;

public class DBCategory {
	private int 	nr;
	private String 	name;
	
	public DBCategory(int nr,String name) {
		this.nr 	= nr;
		this.name 	= name;
	}
	
	public DBCategory(String name) {
		this.nr		= -1;
		this.name  	= name;
	}
	
	public void setNr(int nr) {
		this.nr = nr;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public int getNr() {
		return nr;
	}
	
	public String getName() {
		return name;
	}
}
